package demo.rs;

import com.emc.xcp.services.datasource.domain.Query;
import com.emc.xcp.services.datasource.realtime.rs.RealtimeController;
import demo.domain.Search_vacation_reqDataSourceOutput;
import javax.inject.Inject;
import javax.inject.Named;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;


@Controller(value = "demo.rs.Search_vacation_reqDataSourceController")
@RequestMapping(value = "/application/demo_vacation_requests", params = "type=demo_search_vacation_req")
public class Search_vacation_reqDataSourceController extends RealtimeController<Search_vacation_reqDataSourceOutput> {
    public Search_vacation_reqDataSourceController() {
        super(Search_vacation_reqDataSourceOutput.class);
    }

    public Query getQuery(){
        return query;
    }


    @Inject
    @Named(value = "demo_search_vacation_req")
    private Query query;


}